<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--   导入Vue.js -->
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
<h2>LOGIN</h2>

<p th:text="${msg}" style="color: red"></p>
<form th:action="@{/login}">
  用户：<input type="text" name="username" >
  密码 <input type="text" name="password" > <br>
    <input type="submit" value="登陆">
</form>

</body>
</html>